package com.ys.service.Impl;

import com.ys.mapper.CgoqualityMapper;
import com.ys.pojo.Cgoquality;
import com.ys.service.CgoqualityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("CgoqualityService")
public class CgoqualityServiceImpl implements CgoqualityService {
    @Resource
    private CgoqualityMapper cgoqualityMapper ;
    @Override
    public int addsinsert(Cgoquality cgoquality) {
        return cgoqualityMapper.addsinsert(cgoquality);
    }

    @Override
    public boolean updsupdates(Cgoquality cgoquality) {
        return cgoqualityMapper.updsupdates(cgoquality);
    }

    @Override
    public void updQulaState(Integer id) {
        cgoqualityMapper.updQualState(id);
    }
}
